//
//  PS_PhotoView.h
//  PolicySystem
//
//  Created by 薛子 on 2018/12/2.
//  Copyright © 2018年 xuezi. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol photoViewDelegate <NSObject>

-(void)photoViewSelectedIndex:(NSInteger)index;

-(void)deletePhoto:(NSInteger)index;

@end
@interface PS_PhotoView : UIView

@property (nonatomic , assign) id<photoViewDelegate> delegate;
@property (nonatomic , assign) id<photoViewDelegate> deletePhotoDelegate;
@property (nonatomic, strong) UIImageView *picImage;
@property (nonatomic, strong) UIButton * deleteBtn;
@property (nonatomic, strong) UITapGestureRecognizer * tap;
-(instancetype)initWithFrame:(CGRect)frame;
@end
